package com.nxcy.com.nxcy.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;

@WebServlet(loadOnStartup = 1,urlPatterns = {"/system/initMajor.do"})
public class LoadMajorListServlet extends HttpServlet {
    @Override
    public void init() throws ServletException {
        System.out.println("系统已启动就执行的代码!");
    }
}
